package com.power.leopard.remote.provider.util;

import com.power.leopard.remote.provider.domain.ProviderContext;

public class ProviderHelper {

	private static ThreadLocal<ProviderContext> tlContext = new ThreadLocal<ProviderContext>();

	public static void setContext(ProviderContext context) {
		tlContext.set(context);
	}
	
	public static ProviderContext getContext() {
		ProviderContext providerContext = tlContext.get();
		return providerContext;
	}
}
